<%--
  Created by IntelliJ IDEA.
  User: ckk
  Date: 2020/4/8
  Time: 23:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <shiro:guest>
            游客访问 <a href = "login.jsp">登录</a>
        </shiro:guest>
        <br>
        <shiro:user>
            欢迎[<shiro:principal/>]登录 <a href = "logout">退出</a>
        </shiro:user>
</body>
</html>
